Optimal. Leaf size=66 \[ \frac{(g x)^{m+1} \left (a+c x^2\right )^p \left (\frac{c x^2}{a}+1\right )^{-p} \, _2F_1\left (\frac{m+1}{2},-p;\frac{m+3}{2};-\frac{c x^2}{a}\right )}{g (m+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0187254, antiderivative size = 66, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.133, Rules used = {365, 364} \[ \frac{(g x)^{m+1} \left (a+c x^2\right )^p \left (\frac{c x^2}{a}+1\right )^{-p} \, _2F_1\left (\frac{m+1}{2},-p;\frac{m+3}{2};-\frac{c x^2}{a}\right )}{g (m+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 365
Rule 364
Rubi steps
\begin{align*} \int (g x)^m \left (a+c x^2\right )^p \, dx &=\left (\left (a+c x^2\right )^p \left (1+\frac{c x^2}{a}\right )^{-p}\right ) \int (g x)^m \left (1+\frac{c x^2}{a}\right )^p \, dx\\ &=\frac{(g x)^{1+m} \left (a+c x^2\right )^p \left (1+\frac{c x^2}{a}\right )^{-p} \, _2F_1\left (\frac{1+m}{2},-p;\frac{3+m}{2};-\frac{c x^2}{a}\right )}{g (1+m)}\\ \end{align*}
Mathematica [A] time = 0.0087121, size = 64, normalized size = 0.97 \[ \frac{x (g x)^m \left (a+c x^2\right )^p \left (\frac{c x^2}{a}+1\right )^{-p} \, _2F_1\left (\frac{m+1}{2},-p;\frac{m+1}{2}+1;-\frac{c x^2}{a}\right )}{m+1} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.397, size = 0, normalized size = 0. \begin{align*} \int \left ( gx \right ) ^{m} \left ( c{x}^{2}+a \right ) ^{p}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (c x^{2} + a\right )}^{p} \left (g x\right )^{m}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left ({\left (c x^{2} + a\right )}^{p} \left (g x\right )^{m}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] time = 34.8471, size = 54, normalized size = 0.82 \begin{align*} \frac{a^{p} g^{m} x x^{m} \Gamma \left (\frac{m}{2} + \frac{1}{2}\right ){{}_{2}F_{1}\left (\begin{matrix} - p, \frac{m}{2} + \frac{1}{2} \\ \frac{m}{2} + \frac{3}{2} \end{matrix}\middle |{\frac{c x^{2} e^{i \pi }}{a}} \right )}}{2 \Gamma \left (\frac{m}{2} + \frac{3}{2}\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (c x^{2} + a\right )}^{p} \left (g x\right )^{m}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]